package com.e3.basdoc.employee.client;

import com.e3.basdoc.employee.model.EmployeeModel;
import com.e3.template.tgf.GFRefDialog;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;

public class EmployeeRefDialog extends GFRefDialog<EmployeeModel> {

	@Override
	protected String getRefDialogTitle() {
		return EmployeeMessages.INSTANCE.title_employee_refdialog();
	}

	@Override
	protected TGFGridPanel<EmployeeModel> createGridPanel() {
		return new EmployeeGridPanel();
	}

	@Override
	protected TGFQueryDialog<EmployeeModel> createQueryDialog() {
		return new EmployeeQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return EmployeeMessages.INSTANCE.local_name();
	}

}
